
// 相遇位置
export const X_COLLIDED = 100;

// 跑步者的显示宽度
export const W_RUNNER_SHOW = 80;
// 跑步者宽度
export const W_RUNNER = W_RUNNER_SHOW - 10;

// 跑步者x坐标
export const X_RUNNER = 100
// 树的x坐标
export const X_TREE = 100
// 屏幕宽度
export const W_SCREEN = 466

// 跑步者状态  
export const RunnerState = {
  runing: 0,
  jumping: 1
}
// 树的运动状态
export const TreeState = {
  // 迎面过来
  comingHeadOn: 0,
  // 通过中
  through: 1,
  // 结束中
  ending: 2
}

export const GameState = {
  toStart: 0,
  ongoing: 1,
  failed: 2
}